

package practicasUnidad1;

import java.util.*;
public class otroMas {

    public static void main(String[] args) {
         Scanner sc= new Scanner(System.in);
         System.out.println("Introduce una cadena");
         String cad= sc.next();
         for(int x=0;x<cad.length();x++){
            Character a=cad.charAt(x);
            if(a.isDigit(a)){
                System.out.print("A");
            }else{
                System.out.print(a.toUpperCase(a));
            }
         }
    }

}
